home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / picture / coord.h < prev    next >
Encoding:
Text File  |  1993-09-23  |  984 b   |  28 lines  |  [TEXT/????]

  1. //    Copyright 1993 Ralph Gonzalez
  2.  
  3. /*
  4. *    FILE:        coord.h
  5. *    AUTHOR:        R. Gonzalez
  6. *    CREATED:    October 2, 1990
  7. *
  8. *    Defines 2D and 3D coordinate classes for the picture
  9. *    application.
  10. */
  11.  
  12. # ifndef    coord_h
  13. # define    coord_h
  14.  
  15. # include    "class.h"
  16. # include    "frame.h"
  17. # include    "trans.h"
  18.  
  19. /******************************************************************
  20. *   2D coordinate
  21. ******************************************************************/
  22. class    Coord2:public Generic_Class
  23. {
  24. public:
  25.     double            x;
  26.     double            y;
  27.     
  28.     Coord2(vo